package cn.lyh.FoodSystem.Dao;

import cn.lyh.FoodSystem.Entity.Status;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface StatusDao extends JpaRepository<Status,Integer>, JpaSpecificationExecutor<Status> {
    List<Status> findByType(String type);
}
